#!/bin/sh
export ASAN_OPTIONS=detect_leaks=true:detect_stack_use_after_return=true:check_initialization_order=true:log_path=./memerr.log
#export LSAN_OPTIONS=suppressions=/home/jacktang/svnroot/XGame/Server/suppr.txt
export LSAN_OPTIONS=suppressions=../suppr.txt
cd `dirname $0`

./stop.sh > /dev/null 2>/dev/null
sleep 2
ulimit -c unlimited

cd conn_srv
./conn_srv -d

cd ../game_srv
./game_srv -d

cd ../
./show_all_pid.sh
./check_srv_alive.sh
